const express=require('express')
const axios=require('axios')

const app=express()

app.use((req,res,next)=>{
     req.message="aaa"
   
     next()
     console.log(req.message)
     res.end(req.message)
})


app.use((req,res,next)=>{
    req.message+="bbb"
    next()
})

app.use((req,res,next)=>{
    const result=axios.get({url:'http://123.207.32.32:9001/lyric?id=167876/lyric?id=167876'})
    req.message+=result
    next()
})

app.listen(8000,()=>{
    console.log("服务启动成功")
})